﻿using System.Collections.Generic;

namespace WJ.Infrastructure.DDD
{
    public interface IUnitOfWork
    {
        void BeginChanges();

        int Commit();

        void CommitAndRefreshChanges();

        void RollbackChanges();

    }

}
